package com.mco.controller;

import com.mco.service.GuavaFilterService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Guava 布隆过滤器
 *
 * @author ：liao.wei
 * @date ：2023/9/30 20:30
 * @package : com.mco.GuavaBloomFilterController
 */

@RequiredArgsConstructor
@RestController
@RequestMapping
public class GuavaBloomFilterController {
	
	@Resource
	private GuavaFilterService service;
	
	@GetMapping("/guava/filter")
	public void guavaFilter() {
		service.guavaFilter();
	}
}
